﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Snowflake.Entity
{
    /// <summary>
    /// Event arguments on property changed
    /// </summary>
    public class PropertyChangedEventArgs : System.ComponentModel.PropertyChangedEventArgs
    {
        private object _Value;

        internal PropertyChangedEventArgs(string property, object value): base(property)
        {
            this._Value = value;
        }

        /// <summary>
        /// Current value of the property that is changed
        /// </summary>
        public object Value
        {
            get { return this._Value; }
        }
    }
}
